﻿using System;
using System.ComponentModel.DataAnnotations;

namespace TheCollectiveNetwork.Web.Services
{  
    // This namespace provides data transaction object for use with the domain services
    // within this application

    // Data transfer object for table Accounts_Username, columns username.
    public class DTOAccountsUser
    {
        [Key]
        public Guid User_GUID { get; set; }

        public string username { get; set; }

        public string first_name { get; set; }

        public string last_name { get; set; }

        public string organisation { get; set; }

        public string phone_number { get; set; }

    }


    public class DTOusername
    {
        [Key]
        public Guid User_GUID { get; set; }

        public string username { get; set; }
                

    }

    public class DTOAccountsRegisterUser
    {
        [Key]
        public Guid User_GUID { get; set; }

        public string email { get; set; }       
        
        public string first_name { get; set; }

        public string last_name { get; set; }

        public string phone_number { get; set; }

        public string organisation { get; set; }

        public string passwordencrypt { get; set; }

                        
    }

    public class DTOAccountsRegisterationRequest
    {
        [Key]
        public Guid User_GUID { get; set; }

        public string email { get; set; }

        public string first_name { get; set; }

        public string last_name { get; set; }

        public string phone_number { get; set; }

        public string organisation { get; set; }

        public DateTime datetimecreated { get; set; }

        public bool processing_error { get; set; }

        public string processing_message { get; set; } 

    }


    public class DTOreturnmessage
    {
        [Key]
        public int returncode { get; set; }

        public string returnmessage { get; set; }

    }

}